find the differential equation